/*
 * @Author: fjxcjm 3157329468@qq.com
 * @Date: 2024-10-10 10:52:22
 * @LastEditors: fjxcjm 3157329468@qq.com
 * @LastEditTime: 2024-10-12 15:32:05
 * @FilePath: \vue3-project\src\router\modules\teacher\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Layout from "@/layout/index.vue";

export default [
  {
    path: "/",
    component: Layout,
    redirect: "schedule",
    name: "Teaching",
    meta: {
      title: "授课教师",
    },
    children: [
      // 教学日程管理
      {
        path: "schedule",
        name: "ScheduleManagement",
        redirect: "course-schedule",
        meta: { title: "教学日程管理", icon: "calendar" },
        children: [
          {
            path: "/course-schedule",
            component: () =>
              import("@/views/teaching/schedule/course-schedule.vue"),
            name: "CourseSchedule",
            meta: { title: "课程表安排" },
          },
          {
            path: "/student-management",
            component: () =>
              import("@/views/teaching/schedule/student-management.vue"),
            name: "StudentManagement",
            meta: { title: "学生管理" },
          },
        ],
      },
      // 教学内容管理
      {
        path: "content",
        name: "ContentManagement",
        redirect: "file-upload",
        meta: { title: "教学内容管理", icon: "cloud" },
        children: [
          {
            path: "/file-upload",
            component: () => import("@/views/teaching/content/file-upload.vue"),
            name: "FileUploadManagement",
            meta: { title: "课件上传与管理" },
          },
        ],
      },
    ],
  },
];
